package com.example.basicdemo.dao;

import java.util.Date;

public class RpcConnect {
    private Long id;

    private String osId;

    private String token;

    private String enterpriseName;

    private String targetIp;

    private Integer targetPort;

    private Short channelStatus;

    private String channelMessage;

    private Short sendFlag;

    private Date connectTime;

    private Date createTime;

    private Byte channelPressFlag;

    private String secret;

    private String roleId;

    private String roleName;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOsId() {
        return osId;
    }

    public void setOsId(String osId) {
        this.osId = osId == null ? null : osId.trim();
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token == null ? null : token.trim();
    }

    public String getEnterpriseName() {
        return enterpriseName;
    }

    public void setEnterpriseName(String enterpriseName) {
        this.enterpriseName = enterpriseName == null ? null : enterpriseName.trim();
    }

    public String getTargetIp() {
        return targetIp;
    }

    public void setTargetIp(String targetIp) {
        this.targetIp = targetIp == null ? null : targetIp.trim();
    }

    public Integer getTargetPort() {
        return targetPort;
    }

    public void setTargetPort(Integer targetPort) {
        this.targetPort = targetPort;
    }

    public Short getChannelStatus() {
        return channelStatus;
    }

    public void setChannelStatus(Short channelStatus) {
        this.channelStatus = channelStatus;
    }

    public String getChannelMessage() {
        return channelMessage;
    }

    public void setChannelMessage(String channelMessage) {
        this.channelMessage = channelMessage == null ? null : channelMessage.trim();
    }

    public Short getSendFlag() {
        return sendFlag;
    }

    public void setSendFlag(Short sendFlag) {
        this.sendFlag = sendFlag;
    }

    public Date getConnectTime() {
        return connectTime;
    }

    public void setConnectTime(Date connectTime) {
        this.connectTime = connectTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Byte getChannelPressFlag() {
        return channelPressFlag;
    }

    public void setChannelPressFlag(Byte channelPressFlag) {
        this.channelPressFlag = channelPressFlag;
    }

    public String getSecret() {
        return secret;
    }

    public void setSecret(String secret) {
        this.secret = secret == null ? null : secret.trim();
    }

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId == null ? null : roleId.trim();
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName == null ? null : roleName.trim();
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", osId='" + osId + '\'' +
                ", token='" + token + '\'' +
                ", enterpriseName='" + enterpriseName + '\'' +
                ", targetIp='" + targetIp + '\'' +
                ", targetPort=" + targetPort +
                ", channelStatus=" + channelStatus +
                ", channelMessage='" + channelMessage + '\'' +
                ", sendFlag=" + sendFlag +
                ", connectTime=" + connectTime +
                ", createTime=" + createTime +
                ", channelPressFlag=" + channelPressFlag +
                ", secret='" + secret + '\'' +
                ", roleId='" + roleId + '\'' +
                ", roleName='" + roleName + '\'' +
                '}';
    }
}